package o;

import android.util.Log;

public class dnc {
    private static boolean ˊ;
    private static boolean ˋ;

    static {
        boolean z = false;
        ˋ = dod.ˊ("ro.debuggable", false);
        try {
            Class cls = Class.forName("android.util.Log");
            boolean z2 = cls.getField("HWLog").getBoolean(null);
            boolean z3 = cls.getField("HWModuleLog").getBoolean(null);
            z2 = z2 || (z3 && Log.isLoggable(dnp.ˏ(), 3));
            ˊ = z2;
            if (cls.getField("HWINFO").getBoolean(null) || (z3 && Log.isLoggable(dnp.ˏ(), 4))) {
                z = true;
            }
            ˋ = z;
        } catch (NoSuchFieldException e) {
            dnp.ˏ("LogConfig", "NoSuchFieldException");
        } catch (ClassNotFoundException e2) {
            dnp.ˏ("LogConfig", "NoSuchFieldException");
        } catch (IllegalAccessException e3) {
            dnp.ˏ("LogConfig", "IllegalAccessException");
        }
    }

    public static boolean ˊ() {
        return true;
    }

    public static boolean ˋ() {
        return ˋ;
    }

    public static boolean ˎ() {
        return ˊ;
    }
}
